import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import req from './utils/request';
import './assets/main.css';
import 'vant/lib/index.less';
import VanButton from 'vant/lib/button';
import VanIcon from 'vant/lib/icon';
import VanCell from 'vant/lib/cell';
import VanImage from 'vant/lib/image';
import VanCellGroup from 'vant/lib/cell-group';
import SongList from '@/components/song-list';
import CommentList from '@/components/comment-list';
import './assets/base.less';

Vue.use(VanButton);
Vue.use(VanIcon);
Vue.use(VanImage);
Vue.use(VanCell);
Vue.use(VanCellGroup);

Vue.component('SongList', SongList);
Vue.component('CommentList', CommentList);

Vue.config.productionTip = false;

Vue.prototype.req = req;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
